package com.ideal.frame.common.enumerate;

import com.ideal.frame.entity.EnumTitle;

/**
 * @Author: jin
 * @CreateTime: 2020-02-26 09:16
 * @Description: 权限枚举
 */
public enum SecurityPermission implements EnumTitle {
    //系统-菜单管理
    sys_menu_view("菜单查看"),
    sys_menu_edit("菜单编辑"),
    sys_menu_del("菜单删除"),
    sys_dict_view("字典查看"),
    sys_dict_edit("字典编辑"),
    sys_dict_del("字典删除"),
    sys_role_view("角色查看"),
    sys_role_edit("角色编辑"),
    sys_role_del("角色删除"),
    sys_user_view("用户查看"),
    sys_user_edit("用户编辑"),
    sys_user_del("用户删除"),
    ;

    private String text;

    SecurityPermission(String text){
        this.text = text;
    }
    @Override
    public String getText() {
        return this.text;
    }}
